#ifndef TOUCHRUN_H
#define TOUCHRUN_H

#include "touchRun_global.h"

#include <QString>
#include <QGraphicsView>
#include <QMainWindow>
#include <QGraphicsScene>

class QProject;
class QDataManager;
class QGlobalObject;

class TOUCHRUNSHARED_EXPORT TouchRun :public QObject
{
    Q_OBJECT
public:
    TouchRun(const QString projectPath);
    ~TouchRun();

    bool    exec();
protected slots:
    void    stop();
signals:
    void    Exit();

protected:
    QGraphicsView         *m_view;
    QMainWindow     *m_mainWindow;
    QGlobalObject   *m_globalObject;
    QGraphicsScene  *m_scene;
    QDataManager    *m_dataManager;
};

#endif // TOUCHRUN_H
